<%@page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"%>
<%@taglib uri="/struts-tags" prefix="s"%>
<%String path=request.getContextPath();String basePath=request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<base href="<%=basePath%>"></base>
<title><s:text name="sys.app_title" /></title>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/>
<link type="text/css" rel="stylesheet" href="css/main.css"/>
<script type="text/javascript" src="js/jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="js/app.js"></script>
<script type="text/javascript">
/**$(function(){
	url = 'login';
	if(window.name == 'DZYHP'){
	}else{
		try{
			var newwin=window.open('','DZYHPO','top=10000');
			newwin.close();
		}catch(ex){}
			if(screen.Width>1024){
			var wd=screen.Width/2-10;
			var ht=screen.Height-75;
		}else{
			var wd=screen.Width-10;
			var ht=screen.Height-75;
		}
		var wd = 800;
		var ht = 600;
		var top = (screen.height - 600)/2;
		var left = (screen.width - 800)/2;

		var top = 0;
		var left = 0;
        window.opener = 'M';
		var a = window.open('','DZYHP','toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbar=yes,resizable=yes,width='+(window.screen.availWidth)+',height='+(window.screen.availHeight));
		a.location = url;
		a.moveTo(0,0);
		window.close();
	}
});**/
</script>
</head>
<body background="images/login/bg.jpg">
	<form action="userlogin" method="post" id="loginForm" onsubmit="return loginValidate();">
	  <div class="login_div_1">
		<div class="login_div_2" style="border:0px solid red;">
			<div class="login_div_3">
				<div>
					<img src="images/login/user.png" alt="" />
					<input type="text" id="userId" name="userId" value="ADMINUSER" style="border:0px;height:20px;width:130px;background:transparent;" />
				</div>
				<div style="margin-top:10px;">
					<img src="images/login/pwd.png" alt="" />
				<input type="password" id="password" name="password" value="AAbb1122" style="border:0px;width:130px; background:transparent;" />
				</div>
			</div>
		 	<div class="login_div_4">
				<input type="image" src="<%=path%>/images/login/login.png" onmouseover="this.src='images/login/login.png'" onmouseout="this.src='images/login/login.png'" alt="登录系统"  style="width:76px; height:23px" />
			   <input type="image" src="<%=path%>/images/login/quxiao.png" onmouseover="this.src='images/login/quxiao.png'" onmouseout="this.src='images/login/quxiao.png'" alt="取消"  style="width:76px; height:23px" />
			</div>
			<span><s:actionmessage cssClass="login_error" /></span>
		</div>
	  </div>
	</form>
</body>
</html>